package cn.wolfcode.p2p.base.query;

import cn.wolfcode.base.QueryObject;
import cn.wolfcode.p2p.base.util.DateUtil;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter@Setter
public class RealAuthQuery extends QueryObject {
    private Integer state = 0;
    private Date beginDate;
    private Date endDate;

    private String groupType; // 排序类型

    // 获取结束日期的最晚时间
    public Date getEndDate(){
        return DateUtil.getEndDate(this.endDate);
    }
}